package org.jeecg.modules.workservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.*;
import org.jeecg.common.aspect.annotation.Dict;

/**
 * 类名称：WorkOrder
 * 类描述：工单人员表
 * 创建人：zwr
 * 创建时间：2021-08-28   9:24
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ToString
public class WorkOrderUser {
  /**编号；UUID*/
  @TableId(type = IdType.ASSIGN_ID)
  @ApiModelProperty(value = "工单人员编号")
  private String orderId;
  @ApiModelProperty(value = "工单编号")
  private String workOrderId;
  @ApiModelProperty(value = "分配人员编号")
  private String orderUserId;
  @ApiModelProperty(value = "是否为主负责人")
  @Dict(dicCode = "userType")
  private Integer userType;
  @ApiModelProperty(value = "创建人")
  private String createBy;
  @ApiModelProperty(value = "创建日期")
  private String  createTime;
  @ApiModelProperty(value = "更新人")
  private String updateBy;
  @ApiModelProperty(value = "更新日期")
  private String  updateTime;


}
